<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- css files -->
<link th:href="@{/css/style_login.css}"  rel='stylesheet'  />
<!-- /css files -->
</head>
<body>
<h1>XXX后台系统</h1>
<div class="log">
	<div class="content1">
		<h2>登陆</h2>
		<form role="form" th:action="@{/account/login}" method="post">
			<input type="text" name="username"  th:value="用户名"/>
			<input type="password" name="password"  value='密码******' />
			<div class="button-row">
				<input type="submit" class="sign-in" value="登陆"/>
				<input type="reset" class="reset" value="重置"/>
				<div class="clear"></div>
			</div>
		</form>
		<p th:if="${param.logout}" class="fail">已注销</p>
		<p class="fail" th:if="${param.error}" th:text="账号或密码错误！"></p>
		<p class="success" th:if="${reg_success}" th:text="${reg_success}"></p>
		<p class="fail" th:if="${reg_error}" th:text="${reg_error}"></p>
		<a id="zuce" href="#">没有账户？点击注册</a>
	</div>
	<div class="content2 hidden">
		<h2>注册</h2>
		<form role="form" th:action="@{/account/save}" method="post">
			<input type="text" name="username" value="用户名" />
			<input type="tel" name="phone" value="手机号码" />
			<input type="email" name="email" value="邮箱地址" />
			<input type="password" name="password" value='密码******' />
			<input type="submit" class="register" value="注册"/>
			
		</form>
		<a id="login" href="#">已有账户？点击登陆</a>
	</div>
	<div class="clear"></div>
</div>
<div class="footer">
	<p>Copyright &copy;练习用登陆界面.</p>
</div>
<script src="/js/login.js" type="text/javascript"></script>
</body>
</html>
